'Declaration Public Overloads Overrides Function Evaluate( _ ByVal args() As System.Object _ ) As System.Object
'Usage Dim instance As CalcOddFPriceFunction Dim args() As System.Object Dim value As System.Object value = instance.Evaluate(args)
public override System.object Evaluate( System.object[] args )
Parameters
- args
The args contains 8 - 9 items: settlement, maturity, issue, first_coupon, rate, yld, redemption, frequency, [basis].
Settlement is the security's settlement date. The security settlement date is the date after the issue date when the security is traded to the buyer.
Maturity is the security's maturity date. The maturity date is the date when the security expires.
Issue is the security's issue date.
First_coupon is the security's first coupon date.
Rate is the security's interest rate.
Yld is the security's annual yield.
Redemption is the security's redemption value per $100 face value.
Frequency is the number of coupon payments per year. For annual payments, frequency = 1; for semiannual, frequency = 2; for quarterly, frequency = 4.
Basis is the type of day count basis to use.